package ip.dto;

import java.io.Serializable;
import java.util.Collection;

/***********************************************************************
 * Module:  Country.java
 * Author:  mojsilo
 * Purpose: Defines the Class Country
 ***********************************************************************/


public class CountryDTO implements Serializable
{
	private static final long serialVersionUID = -8225114664920098985L;
	private long countryId;
	private java.lang.String name;
	private Collection movies;
	/**
	 * @return the countryId
	 */
	public long getCountryId() {
		return countryId;
	}
	/**
	 * @param countryId the countryId to set
	 */
	public void setCountryId(long countryId) {
		this.countryId = countryId;
	}
	/**
	 * @return the movies
	 */
	public Collection getMovies() {
		return movies;
	}
	/**
	 * @param movies the movies to set
	 */
	public void setMovies(Collection movies) {
		this.movies = movies;
	}
	/**
	 * @return the name
	 */
	public java.lang.String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(java.lang.String name) {
		this.name = name;
	}
	/**
	 * Constructs a <code>String</code> with all attributes
	 * in name = value format.
	 *
	 * @return a <code>String</code> representation 
	 * of this object.
	 */
	public String toString()
	{
		final String TAB = "    ";

		String retValue = "";

		retValue = "Country ( "
			+ super.toString() + TAB
			+ "countryId = " + this.countryId + TAB
			+ "name = " + this.name + TAB
			+ "movies = " + this.movies + TAB
			+ " )";

		return retValue;
	}

}